
package uestc.bitman.edxapp.units;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;

import java.util.List;

public class CourseBlocksAdapter extends BaseExpandableListAdapter {

    // private List<CourseBlock> units;

    // private LayoutInflater inflater;

    public CourseBlocksAdapter(Context context) {
        // units = new ArrayList<CourseBlock>();
        // inflater = LayoutInflater.from(context);
    }

    public void reloadCourseUnits(List<CourseBlock> units) {
        // this.units = units;
    }

    @Override
    public Object getChild(int groupPostion, int childPosition) {
        return null;
    }

    @Override
    public long getChildId(int groupPostion, int childPosition) {
        return 0;
    }

    @Override
    public int getChildrenCount(int groupPosition) {
        return 0;
    }

    @Override
    public Object getGroup(int position) {
        return null;
    }

    @Override
    public int getGroupCount() {
        return 0;
    }

    @Override
    public long getGroupId(int position) {
        return 0;
    }

    @Override
    public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
            View convertView, ViewGroup parent) {
        return null;
    }

    @Override
    public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
            ViewGroup parent) {
        return null;
    }

    @Override
    public boolean hasStableIds() {
        return false;
    }

    @Override
    public boolean isChildSelectable(int groupPosition, int childPosition) {
        return true;
    }

}
